<!DOCTYPE HTML>
<html>

<head>
    <title>
        <block name='title'></block>-{:C('TITLE')}</title>
    <link href="__PUBLIC__/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" media="all">
    <link href="__PUBLIC__/Home/css/style.css" rel="stylesheet" type="text/css" media="all" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <block name='keywords'>
        <meta name="keywords" content="{:C('keywords')}" />
    </block>
    <block name='description'>
        <meta name="description" content="{:C('description')}">
    </block>
    <style type="text/css">
    .showborder {
        -webkit-box-shadow: 0 1px 5px rgba(191, 191, 191, 0.86), inset 0 1px 0 white;
        -moz-box-shadow: 0 1px 5px rgba(191, 191, 191, 0.86), inset 0 1px 0 white;
        box-shadow: 0 1px 5px rgba(191, 191, 191, 0.86), inset 0 1px 0 white;
    }
    
    .showborder:hover {
        -webkit-box-shadow: 0 1px 5px #337AB7, inset 0 1px 0 white;
        -moz-box-shadow: 0 1px 5px #337AB7, inset 0 1px 0 white;
        box-shadow: 0 1px 5px #337AB7, inset 0 1px 0 white;
        text-decoration: none;
    }
    
    .Validform_checktip {
        margin-left: 8px;
        line-height: 20px;
        height: 20px;
        overflow: hidden;
        color: #999;
        font-size: 12px;
    }
    
    .Validform_right {
        color: #71b83d;
        padding-left: 20px;
        background: url(../../Images/success.png) no-repeat left center;
    }
    
    .Validform_wrong {
        color: red;
        padding-left: 20px;
        white-space: nowrap;
        background: url(../../Images/error.png) no-repeat left center;
    }
    
    .Validform_loading {
        padding-left: 20px;
        background: url(../../Images/onload.png) no-repeat left center;
    }
    
    .Validform_error {
        background-color: #ffe7e7;
    }
    
    #Validform_msg {
        color: #7d8289;
        font: 12px/1.5 tahoma, arial, \5b8b\4f53, sans-serif;
        width: 280px;
        -webkit-box-shadow: 2px 2px 3px #aaa;
        -moz-box-shadow: 2px 2px 3px #aaa;
        background: #fff;
        position: absolute;
        top: 0px;
        right: 50px;
        z-index: 99999;
        display: none;
        filter: progid: DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#999999');
        box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
    }
    
    #Validform_msg .iframe {
        position: absolute;
        left: 0px;
        top: -1px;
        z-index: -1;
    }
    
    #Validform_msg .Validform_title {
        line-height: 25px;
        height: 25px;
        text-align: left;
        font-weight: bold;
        padding: 0 8px;
        color: #fff;
        position: relative;
        background-color: #999;
        background: -moz-linear-gradient(top, #999, #666 100%);
        background: -webkit-gradient(linear, 0 0, 0 100%, from(#999), to(#666));
        filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#999999', endColorstr='#666666');
    }
    
    #Validform_msg a.Validform_close:link,
    #Validform_msg a.Validform_close:visited {
        line-height: 22px;
        position: absolute;
        right: 8px;
        top: 0px;
        color: #fff;
        text-decoration: none;
    }
    
    #Validform_msg a.Validform_close:hover {
        color: #E1E6EB;
    }
    
    #Validform_msg .Validform_info {
        padding: 8px;
        border: 1px solid #bbb;
        border-top: none;
        text-align: left;
    }
    
    .marketing h2 {
        margin-top: 35px;
        color: #333;
    }
    
    .marketing p {
        line-height: 30px;
    }
    
    .our img {
        max-width: 750px;
        margin: 0 auto;
        margin-bottom: 10px;
    }
    
    @media(max-width: 500px) {
        .our img {
            width: 300px;
            margin-bottom: 10px;
            margin: 0 auto;
        }
    }
    </style>
    <script type="application/x-javascript">
    addEventListener("load", function() {
        setTimeout(hideURLbar, 0);
    }, false);

    function hideURLbar() {
        window.scrollTo(0, 1);
    }
    </script>
    <script src="__PUBLIC__/Home/js/jquery.min.js"></script>
    <link rel="stylesheet" href="__PUBLIC__/Home/css/flexslider.css" type="text/css" media="screen" />
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body>
    <!-- header -->
    <include file='Public/_header' />
    <!-- header -->
    <block name='body'>
        <!-- banner -->
        <div class="banner">
            <div class="container">
                <!-- banner Slider starts Here -->
                <script src="__PUBLIC__/Home/js/responsiveslides.min.js"></script>
                <script>
                // You can also use "$(window).load(function() {"
                $(function() {
                    // Slideshow 4
                    $("#slider4").responsiveSlides({
                        auto: true,
                        pager: true,
                        nav: true,
                        speed: 500,
                        namespace: "callbacks",
                        before: function() {
                            $('.events').append("<li>before event fired.</li>");
                        },
                        after: function() {
                            $('.events').append("<li>after event fired.</li>");
                        }
                    });

                });
                </script>
                <!--//End-slider-script-->
                <div id="top" class="callbacks_container">
                    <ul class="rslides" id="slider4">
                        <li>
                            <div class="banner-info">
                                <h1>智能投币洗车，投币刷卡一体机</h1>
                                <p>营造更洁清的世界</p>
                            </div>
                        </li>
                        <li>
                            <div class="banner-info">
                                <h1>单机泡沫可洗1000辆车</h1>
                                <p>内式操作面板，操作更加人性化，更美观，吸尘桶与洗车二合为一，更省窨</p>
                            </div>
                        </li>
                        <li>
                            <div class="banner-info">
                                <h1>创新设计，安全电压，节能环保</h1>
                            </div>
                        </li>
                    </ul>
                </div>
                <div class="clearfix"> </div>
                <!-- banner Slider Ends Here -->
            </div>
        </div>
        <!-- banner -->
        <div class="copyrights">Collect from </div>
        <!-- our -->
        <div class="our">
            <div class="container">
                <h2>最新推荐产品</h2>
                <p>&nbsp;</p>
                <div class="row">
                    <div class="col-sm-6 col-md-4">
                        <div class="thumbnail showborder">
                            <a href="{:U('Index/ShopMain')}" target='_blank'>
                                <img alt="100%x200" data-src="holder.js/100%x200" style="overflow:hidden; width: 100%; display: block;" src="http://img.qcwu.com.cn/xicheji/4t/8.jpg!app" data-holder-rendered="true" alt='自助洗车机(基础版)'>
                            </a>
                            <div class="caption">
                                <h3><center>自助洗车机(基础版)</center></h3>
                                <p>
                                    <div class='row'>
                                        <div class='col-xs-6'>
                                            <a class="btn btn-primary btn-block btn-lg" href="{:U('Index/ShopMain')}" target='_balnk'>查看详情</a>
                                        </div>
                                        <div class='col-xs-6'>
                                            <a class="btn btn-default btn-block btn-lg" href="{:U('Index/Parts')}" target='_balnk'>参数及价格</a>
                                        </div>
                                    </div>
                                </p>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6 col-md-4">
                        <div class="thumbnail showborder">
                            <a href="{:U('Index/ShopMain')}" target='_blank'>
                                <img alt="100%x200" data-src="holder.js/100%x200" style="overflow:hidden; width: 100%; display: block;" src="http://img.qcwu.com.cn/xicheji/4t/3.jpg!app" data-holder-rendered="true" alt='自助洗车机(基础版)'>
                            </a>
                            <div class="caption">
                                <h3><center>自助洗车机(标准版)</center></h3>
                                <p>
                                    <div class='row'>
                                        <div class='col-xs-6'>
                                            <a class="btn btn-primary btn-block btn-lg" href="{:U('Index/ShopMain')}" target='_balnk'>查看详情</a>
                                        </div>
                                        <div class='col-xs-6'>
                                            <a class="btn btn-default btn-block btn-lg" href="{:U('Index/Parts')}" target='_balnk'>参数及价格</a>
                                        </div>
                                    </div>
                                </p>
                            </div>
                        </div>
                    </div>
                    <div class="col-sm-6 col-md-4">
                        <div class="thumbnail showborder">
                            <a href="{:U('Index/ShopMain')}" target='_blank'>
                                <img alt="100%x200" data-src="holder.js/100%x200" style="overflow:hidden; width: 100%; display: block;" src="http://img.qcwu.com.cn/xicheji/4t/4.jpg!app" data-holder-rendered="true" alt='自助洗车机(基础版)'>
                            </a>
                            <div class="caption">
                                <h3><center>自助洗车机(豪华款)</center></h3>
                                <p>
                                    <div class='row'>
                                        <div class='col-xs-6'>
                                            <a class="btn btn-primary btn-block btn-lg" href="{:U('Index/ShopMain')}" target='_balnk'>查看详情</a>
                                        </div>
                                        <div class='col-xs-6'>
                                            <a class="btn btn-default btn-block btn-lg" href="{:U('Index/Parts')}" target='_balnk'>参数及价格</a>
                                        </div>
                                    </div>
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- our -->
        <!-- employs -->
        <div class="employs">
            <div class="container">
                <div class="team">
                    <div class="product-tabs">
                        <!--Horizontal Tab-->
                        <div id="horizontalTab" class="r-tabs">
                            <ul class="r-tabs-nav">
                                <li class="r-tabs-tab r-tabs-state-default"><a href="#tab-1" class="r-tabs-anchor"> 客户案例</a></li>
                            </ul>
                            <div class="r-tabs-accordion-title r-tabs-state-default">
                                <a href="#tab-1" class="r-tabs-anchor"></a>
                            </div>
                            <div id="tab-1" class="product-complete-info r-tabs-panel r-tabs-state-active" style="overflow: hidden; display: block;">
                                <div class="team-top">
                                    <li><img src="http://img.qcwu.com.cn/xicheji/khal/t1.png" class="img-responsive" alt="" width='174'></li>
                                    <li><img src="http://img.qcwu.com.cn/xicheji/khal/t2.png" class="img-responsive" alt="" width='174'></li>
                                    <li><img src="http://img.qcwu.com.cn/xicheji/khal/t3.png" class="img-responsive" alt="" width='174'></li>
                                    <li><img src="http://img.qcwu.com.cn/xicheji/khal/t4.png" class="img-responsive" alt="" width='174'></li>
                                    <li><img src="http://img.qcwu.com.cn/xicheji/khal/t5.png" class="img-responsive" alt="" width='174'></li>
                                    <li><img src="http://img.qcwu.com.cn/xicheji/khal/t6.png" class="img-responsive" alt="" width='174'></li>
                                </div>
                            </div>
                            <!-- Responsive Tabs JS -->
                            <script src="__PUBLIC__/Home/js/jquery.responsiveTabs.js" type="text/javascript"></script>
                            <script type="text/javascript">
                            $(document).ready(function() {
                                $('#horizontalTab').responsiveTabs({
                                    rotate: false,
                                    startCollapsed: 'accordion',
                                    collapsible: 'accordion',
                                    setHash: true,
                                    disabled: [4, 5],
                                    activate: function(e, tab) {
                                        $('.info').html('Tab <strong>' + tab.id + '</strong> activated!');
                                    }
                                });

                                $('#start-rotation').on('click', function() {
                                    $('#horizontalTab').responsiveTabs('active');
                                });
                                $('#stop-rotation').on('click', function() {
                                    $('#horizontalTab').responsiveTabs('stopRotation');
                                });
                                $('#start-rotation').on('click', function() {
                                    $('#horizontalTab').responsiveTabs('active');
                                });
                                $('.select-tab').on('click', function() {
                                    $('#horizontalTab').responsiveTabs('activate', $(this).val());
                                });

                            });
                            </script>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- employs -->
        <!-- recnt -->
        <include file='Public/what' />
    </block>
    <include file='Public/_footer' />
    <!-- FlexSlider -->
    <script type="text/javascript" src='__PUBLIC__/validform/js/Validform_v5.3.2_min.js'></script>
    <script type="text/javascript" src='__PUBLIC__/layer/layer.js'></script>
    <script src="__PUBLIC__/Home/js/jquery.flexslider.js"></script>
    <script type="text/javascript" src='__PUBLIC__/cxselect/jquery.cxselect.min.js'></script>
    <script type="text/javascript">
    var indexjs = new IndexJS();
    indexjs.Main();
    //联动城市
    var linkcity = $('.linkcity');
    if (linkcity) {
        linkcity.each(function(i) {
            indexjs.cxselectcity('#' + this.id);
        });
    };

    function IndexJS() {
        //全局表单提交验证
        this.Main = function() {
            var indexs = layer.load(1, {
                shade: [0.8, '#393D49']
            });

            // ajax submit tpl:Release
            var thisAjaxLoginSub = $('.require');
            //文本编缉器存在，即不ajax提交
            var textarea = $('.textarea');

            if (textarea.length) {
                var ispost = false;
            } else {
                var ispost = true;
            }
            var AjaxLoginSubmit = thisAjaxLoginSub.Validform({
                tiptype: function(msg, o, cssctl) {
                    if (!o.obj.is("form")) {
                        var objtip = o.obj.prev().find(".Validform_checktip");
                        cssctl(objtip, o.type);
                        objtip.text(msg);
                    } else {
                        var objtip = o.obj.find("#msgdemo");
                        cssctl(objtip, o.type);
                        objtip.text(msg);
                    }

                }
            });
            AjaxLoginSubmit.config({
                showAllError: true,
                postonce: true, //指定是否开启二次提交防御。
                ajaxPost: ispost,
                ajaxpost: {
                    getStatus: function(data) {
                        alert(data);
                    },
                    // timeout: 1000,
                    error: function(data, obj) {
                        layer.alert('服务器请求超时，新刷新后再操作...');
                    },
                    success: function(data) {

                        if (data.status) {

                            layer.msg('请等待...', {
                                icon: 16,
                                time: 2000,
                                shade: [0.8, '#393D49']
                            }, function() {
                                if (data.url) {
                                    window.location.href = data.url;
                                } else {
                                    $('.require')[0].reset();
                                    window.location.reload();
                                }
                            });


                        } else {
                            layer.alert(data.info, {
                                icon: 5
                            });
                        }
                    }
                }
            })
            layer.close(indexs);


        }
        this.cxselectcity = function(classid) {
            if (classid) {
                var selects = $(classid);
                var get_json_data = selects.attr('href');
            }
            selects.cxSelect({
                url: get_json_data,
                selects: ['province', 'city', 'area'],
                nodata: 'none',
                required: true,
                firstTitle: '请选择', //required为false有效
            });
        }
    }
    </script>
    <block name='script'></block>
</body>

</html>
